<?php /* Smarty version 2.6.26, created on 2012-05-12 14:52:52
         compiled from blocks%5Cstatistics.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'explode', 'blocks\\statistics.tpl', 9, false),array('modifier', 'cat', 'blocks\\statistics.tpl', 10, false),)), $this); ?>
<!-- statistics block -->

<?php if ($this->_tpl_vars['statistics_block']): ?>
	<?php $_from = $this->_tpl_vars['statistics_block']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['lt_key'] => $this->_tpl_vars['stat_item']):
?>
	<table class="stats">
	<tr>
		<td class="dark"><b><?php echo $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['name']; ?>
</b></td>
		<?php if ($this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_field']): ?>
			<?php $_from = ((is_array($_tmp=',')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values']) : explode($_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values'])); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scolsF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['scolsF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['s_column']):
        $this->_foreach['scolsF']['iteration']++;
?>
			<?php $this->assign('column', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='stats+name+')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lt_key']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lt_key'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '_column') : smarty_modifier_cat($_tmp, '_column')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['s_column']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['s_column']))); ?>
			<td class="column dark"><?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['column']]; ?>
</td><?php if (! ($this->_foreach['scolsF']['iteration'] == $this->_foreach['scolsF']['total'])): ?><td class="divider dark">/</td><?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
		<?php endif; ?>
	</tr>
	<tr>
		<td class="dotted"><a class="block_bg" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['listings']; ?>
.html#<?php echo $this->_tpl_vars['lt_key']; ?>
<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['listings']; ?>
#<?php echo $this->_tpl_vars['lt_key']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['total']; ?>
</a></td>
		<?php if ($this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_field']): ?>
			<?php $_from = ((is_array($_tmp=',')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values']) : explode($_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values'])); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scolsF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['scolsF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['s_column']):
        $this->_foreach['scolsF']['iteration']++;
?>
				<td class="column counter"><?php echo $this->_tpl_vars['stat_item']['total'][$this->_tpl_vars['s_column']]; ?>
</td><?php if (! ($this->_foreach['scolsF']['iteration'] == $this->_foreach['scolsF']['total'])): ?><td class="divider">/</td><?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
		<?php else: ?>
			<td class="single"><?php echo $this->_tpl_vars['stat_item']['total']; ?>
</td>
		<?php endif; ?>
	</tr>
	<?php if (( $this->_tpl_vars['stat_item']['today'] && ! $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_field'] ) || ( $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_field'] && $this->_tpl_vars['stat_item']['today']['total'] )): ?>
	<tr>
		<td class="dotted"><a class="block_bg" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages']['listings']; ?>
.html#<?php echo $this->_tpl_vars['lt_key']; ?>
<?php else: ?>?page=<?php echo $this->_tpl_vars['pages']['listings']; ?>
#<?php echo $this->_tpl_vars['lt_key']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['lang']['today']; ?>
</a></td>
		<?php if ($this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_field']): ?>
			<?php $_from = ((is_array($_tmp=',')) ? $this->_run_mod_handler('explode', true, $_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values']) : explode($_tmp, $this->_tpl_vars['listing_types'][$this->_tpl_vars['lt_key']]['Arrange_values'])); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scolsF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['scolsF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['s_column']):
        $this->_foreach['scolsF']['iteration']++;
?>
				<td class="column counter"><?php echo $this->_tpl_vars['stat_item']['today'][$this->_tpl_vars['s_column']]; ?>
</td><?php if (! ($this->_foreach['scolsF']['iteration'] == $this->_foreach['scolsF']['total'])): ?><td class="divider">/</td><?php endif; ?>
			<?php endforeach; endif; unset($_from); ?>
		<?php else: ?>
			<td class="single"><?php echo $this->_tpl_vars['stat_item']['today']; ?>
</td>
		<?php endif; ?>
	</tr>
	<?php endif; ?>
	</table>
	<?php endforeach; endif; unset($_from); ?>
<?php else: ?>
	<?php echo $this->_tpl_vars['lang']['statistics_isnot_available']; ?>

<?php endif; ?>

<!-- statistics block -->